{{ define "default/news.html" }}
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>{{.title}}</title>
    <link rel="stylesheet" href="/static/css/base.css">
</head>
<body>
{{ template "public/index.html" .}}

<h2>{{.news.Title}}</h2>
<p>
    {{.news.Content}}
</p>

{{if ge .score 60 }}
<p>
    及格
</p>
{{else}}
<p>
    不及格
</p>
{{end}}

<br>
{{UnixToTime .date}}

</body>
</html>
{{ end }}
